package br.org.etec.dotcao.model;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonIgnore;

@Table(name = "tuserpicture")
@Entity
public class UserPicture extends Picture {

	private static final long serialVersionUID = 1L;

	@JsonIgnore
	@OneToOne(mappedBy="picture")
	private User user;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
